package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Type;
import com.biomatch.dto.Pagination;

import java.util.List;

public interface DanceTypeService {
    IPage<Type> getAllTypeByPage(Pagination pagination);

    List<Type> getAll();

    Type saveOrUpdate(Type type);

    Type delete(Type type);
}
